#include "mainwindow.h"

#include <QApplication>
#include "mythread.h"
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
   //MainWindow w;
    //w.show();
    Mythread1 p;
    Mythread2 c;
    p.start();
    c.start();
    p.wait();
    c.wait();
    return a.exec();
}
